//------------------------------------------------------------------------------
#include "application.h"
#include <QDebug>
//------------------------------------------------------------------------------
Application* Application::m_instance = 0;
//------------------------------------------------------------------------------
Application::Application(int& argc, char* argv[]) : QApplication(argc, argv){
	setApplicationVersion(APPLICATION_VERSION);
}
//------------------------------------------------------------------------------
void Application::create(int& argc, char* argv[]){
	if(m_instance != 0)
		return;

	m_instance = new Application(argc, argv);
}
//------------------------------------------------------------------------------
void Application::destroy(){
	delete m_instance;
	m_instance = 0;
}
//------------------------------------------------------------------------------
